												<div>
												<table id="sample-table-2" class="table table-striped table-bordered table-hover dataTable" aria-describedby="sample-table-2_info">
													<thead>
														<tr role="row">
															<th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" style="width: 5%;">STT</th>
															<th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" style="width: 35%;">Tên công ty</th>
															<th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" style="width: 10%;">Mã số thuế</th>
															<th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" style="width: 30%;">Địa chỉ</th>
															<th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" style="width: 10%;">Mẫu số</th>
															<th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" style="width: 10%;">Ký hiệu</th>
														</tr>
													</thead>
													<tbody role="alert" aria-live="polite" aria-relevant="all">
														{if $cover_total > 0}
														{section name=cover loop=$cover}
														<tr id="cview_{$cover[cover][0]}" style="cursor:pointer">
															<td>{$cover[cover][0]}</td>
															<td>{$cover[cover][1]}</td>
															<td>{$cover[cover][2]}</td>
															<td>{$cover[cover][3]}</td>
															<td>{$cover[cover][4]}</td>
															<td>{$cover[cover][5]}</td>
														</tr>
														{/section}
														{/if}
													</tbody>
												</table>
												<div class="row">
													<div class="col-sm-6">
														<div class="dataTables_info" id="sample-table-2_info">{if $cover_total > 0}Đang xem từ {$cover_from} đến {$cover_to} trong tổng {$cover_total} bìa cần in{else}Không có bản ghi nào{/if}</div>
													</div>
													{if $cover_total > 0}
													<div class="col-sm-6">
														<div class="dataTables_paginate paging_bootstrap">
															<ul class="pagination">
																<li class="prev {if $cover_page_curr == 1}disabled{/if}">
																	<a {if $cover_page_curr != 1}href="cover?do=list&page={$cover_page_prev}{if $search != ''}&search={$search}{/if}"{/if}><i class="icon-double-angle-left"></i></a>
																</li>
																{section name=cover_page loop=$cover_page}
																<li {if $cover_page_curr == $cover_page[cover_page]}class="active"{/if}>
																	<a href="cover?do=list&page={$cover_page[cover_page]}{if $search != ''}&search={$search}{/if}">{$cover_page[cover_page]}</a>
																</li>
																{/section}
																<li class="next {if $cover_page_curr == $cover_page_end}disabled{/if}">
																	<a {if $cover_page_curr != $cover_page_end}href="cover?do=list&page={$cover_page_next}{if $search != ''}&search={$search}{/if}"{/if}><i class="icon-double-angle-right"></i></a>
																</li>
															</ul>
														</div>
													</div>
													{/if}
												</div>
												</div>
												{section name=cover loop=$cover}
												<div id="dialog_cview_{$cover[cover][0]}" style="display:none;" title='In bìa "{$cover[cover][1]}"'>
													<form action="print" name="form_{$cover[cover][0]}" method="GET">
													<input type="hidden" name="do" value="cover">
													<input type="hidden" name="id" value="{$cover[cover][0]}">
													<input type="hidden" name="name" value="{$cover[cover][1]}">
													<input type="hidden" name="tax" value="{$cover[cover][2]}">
													<input type="hidden" name="address" value="{$cover[cover][3]}">
													<input type="hidden" name="form" value="{$cover[cover][4]}">
													<input type="hidden" name="serial" value="{$cover[cover][5]}">
													<table class="EditTable" align="center">
														<tbody>
														<tr></tr>
														<tr>
															<td colspan="2" align="center">Chỉ được điền 1 trong các dòng trên, đã điền "Từ Quyển" hoặc "Từ số" thì không cần điền "Số quyển"</td>
														</tr>
														<tr>
															<td>Số quyển</td>
															<td><input type="text" name="soquyen" id="soquyen" size="50" /></td>
														</tr>
														<tr>
															<td>Quyển số</td>
															<td><input type="text" name="quyenso" id="quyenso" size="50" /></td>
														</tr>
														<tr>
															<td>Theo quyển</td>
															<td>
																Từ quyển<input type="text" name="tuquyen" id="tuquyen" value="{$cover[cover][6]}" size="10" />
																Đến quyển<input type="text" name="denquyen" id="denquyen" value="{$cover[cover][7]}" size="10" />
															</td>
														</tr>
														<tr>
															<td>Theo số</td>
															<td>
																Từ số<input type="text" name="tuso" id="tuso" size="10" />
																Đến số<input type="text" name="denso" id="denso" size="10" />
															</td>
														</tr>
														<tr>
															<td>Kiểu in</td>
															<td>
																<label><input type="radio" name="page" value="A4" checked /> In bìa A4</label>&nbsp;&nbsp;&nbsp;
																<label><input type="radio" name="page" value="A5" /> In bìa A5</label>
															</td>
														</tr>
														<tr>
															<td align="left" width="20%">
																
															</td>
															<td align="right" width="40%">
															  <input class="btn btn-sm btn-primary" type="submit" name="print_submit" value="Print" onclick="this.form.target='_blank';return alert_print_{$cover[cover][0]}();">
															  <input id="close_{$cover[cover][0]}" class="btn btn-sm btn-primary" type="button" value="Close">
															</td>
														</tr>
														</tbody>
													</table>
													</form>
													<script language="JavaScript" type="text/javascript">
														function alert_print_{$cover[cover][0]}()
														{
															var r = confirm('Xem lại cho đúng phôi bìa {$cover[cover][8]} chưa?');
															if(r){
																return true;
															} else {
																return false;
															}
														}
													</script>
												</div>
												{/section}
												{include file="templates/script.tpl" menu="cover_list"}